package com.jack.rpc;

import com.jack.rpc.intf.StudentService;
import com.jack.rpc.intf.impl.StudentServiceImpl;
import com.jack.rpc.server.RpcServer;

/**
 * 服务启动类
 * @author jie
 * @date 2018/8/9
 */
public class App {

    public static void main(String[] args) {
        RpcServer rpcServer = new RpcServer(12345);
        rpcServer.registyService(StudentService.class, StudentServiceImpl.class);
        rpcServer.start();
        System.out.println("服务器启动了**********");
    }
}
